home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
battutor.arc
/
_FIND.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-05-05
|
1KB
|
41 lines
echo off
. _find.bat revised 19-aug-83 21:30
more <_find.rem
:example
slash/ll/ OK, open a drive door, etc
pause
findfile more.com
if errorlevel 255 goto cantfind
if errorlevel 4 goto e
if errorlevel 3 goto d
if errorlevel 2 goto c
if errorlevel 1 goto b
slash/ll/ Found MORE.COM file on drive A:
goto continue
:b
slash/ll/ Found MORE.COM file on drive B:
goto continue
:c
slash/ll/ Found MORE.COM file on drive C:
goto continue
:d
slash/ll/ Found MORE.COM file on drive D:
:e
slash/ll/ Found MORE.COM on a virtual drive higher than D:
slash/l/ You've gotta lotta drives!
:cantfind
slash/ll/ Findfile cannot find MORE.COM on any ready drive.
:continue
query/lll/ Want to repeat this example (y/n) ?
if errorlevel 2 goto exit
if errorlevel 1 goto example
slash/ll/ We'll pause here while you make sure all drives doors are
slash/ / are closed, etc. Please be sure MORE.COM is still
slash/ / available in the same drive as before. Thanks.
slash/l
pause
more <_epilog.rem
or (gasp!) a winnie?
slash/l/(Don't type y